package com.txc.cloud.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.txc.common.global.model.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色-权限表
 * </p>
 *
 * @author TXC
 * @since 2022-08-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_role_permission")
public class RolePermissionEntity extends BaseEntity<RolePermissionEntity> {
    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 权限code
     */
    private String permissionCode;

}
